cmake_minimum_required(VERSION 2.6)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake_modules/")

if(NOT CMAKE_BUILD_TYPE)
    set(CMAKE_BUILD_TYPE Release)
endif(NOT CMAKE_BUILD_TYPE)

message(STATUS "Build type (use -DCMAKE_BUILD_TYPE=Debug/Release): ${CMAKE_BUILD_TYPE}")

add_definitions(-DVERSION="0.2.0")
add_definitions(-DINSTALL_PREFIX="${CMAKE_INSTALL_PREFIX}")
add_subdirectory("src")
add_subdirectory("locale")
add_subdirectory("docs")
